
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

<h:head>
	<!-- <meta http-equiv="refresh" content="0; URL=../private/homeTemplate.jsp" /> -->

	<!-- CSS de Apps. Web -->
        <link rel="icon" href="resources/img/plantilla/log_iess.gif" />
        <link rel="stylesheet" type="text/css" href="resources/css/base.css"
		media="screen" />
	<link rel="stylesheet" type="text/css" href="resources/css/contenido.css"
		media="screen" />
	<link rel="stylesheet" type="text/css"
		href="resources/css/menu_vertical.css" media="screen" />

	<!-- FIN SCRIPTS DEL IESS -->
	<script src="../../js/jquery/jquery.js" type="text/javascript"></script>
	<script src="../../js/functions.js" type="text/javascript"></script>

	<script src="../../js/jquery/jqueryMenuVertical.js"
		type="text/javascript"></script>
	<script src="../../js/menuVertical.js" type="text/javascript"></script>
	<script type="text/javascript">
			$(document).ready(function() {
				$("#tree").treeview({
					collapsed : true,
					animated : "medium",
					control : "#sidetreecontrol",
					persist : "location"
				});
			});

			window.oncontextmenu = function(){return false;}
			document.oncontextmenu = function(){return false;}
			

			document.onkeydown = function(){
				if(navigator.appName == "Microsoft Internet Explorer"){
					var tecla = window.event.keyCode;
					if(tecla == 116){
						event.keyCode = 0;
						event.returnValue = false;
					}
				}
				
			}

			//window.history.forward(1);
			//window.history.back(1);
		</script>
	<title>IESS::Pensiones Minería</title>
</h:head>

<h:body>
	<f:metadata>
		<f:event type="preRenderView" listener="logeado" />
	</f:metadata>

	<div id="cabecera">
		<table>
			<tbody>
				<tr>
					<td><div id="logo">
                                                <img src="resources/css/img/plantilla/logo.png" />
						</div></td>
					<td><div id="migas_pan">
							<a href="#">Inicio</a>
						</div></td>
				</tr>
			</tbody>
		</table>
	</div>
	<!-- area principal -->
	<table cellpadding="0" cellspacing="0">
		<tbody>
			<tr>
				<td class="menu">
					<!-- menu -->
					<table cellpadding="0" cellspacing="0">
						<tbody>
							<tr>
								<td>
									<div class="panel_sistema">
										<table class="contenedor_titulo" cellpadding="0"
											cellspacing="0">
											<tbody>
												<tr>
													<td><img src="resources/css/img/modulo/logo_aplicativo.png" /></td>
													<td><div class="tit_sistema">Minería de Datos</div></td>
												</tr>
											</tbody>
										</table>
									</div>
									<div class="panel_usuario">
										<h:form>
											<h:outputText value="Sr(a).  "></h:outputText>
											<br />
											<h:outputText value="paul cruz"></h:outputText>
											<br />
											<h:outputText value="Cédula:  " />
											<h:outputText value="administrador" />
											<br />
										</h:form>
									</div>
									<div id="leftMenu" class="panel_menu">
										<div style="clear: both;">
											<h:outputText value="#{treeMenuBacking.menu}" escape="false" />
										</div>
									</div>
								</td>
							</tr>
						</tbody>
					</table>

				</td>
				<!-- contenido principal -->
				<td class="contenedor">
					<div class="panel_principal">
						<div class="menu_superior">
							<h:form>
								<a href="#">? Ayuda</a>&nbsp;&nbsp;&nbsp;<img
                                                                    src="resources/css/img/menu/fon_linea_intermedia.png" />
								<h:commandButton action="#{login.logOut}" value="Salir"
									styleClass="botonSalir">
								</h:commandButton>

							</h:form>

						</div>
						<div id="deploy"></div>
					</div>
				</td>
			</tr>
		</tbody>
	</table>
	<script type="text/javascript">
	  //sendPage('null', '../private/treeMenu/menu.xhtml', 'leftMenu');
	  sendPage('null', '../private/session/topInfo.xhtml', 'menu_superior');
	  sendPage('null', '../private/bienvenida.xhtml', 'deploy');
     </script>

</h:body>
</html>